package com.guodexian.xiaomi.service;
import com.guodexian.xiaomi.entity.Category;
import com.guodexian.xiaomi.vo.ResultVO;

import java.util.List;
import java.util.Map;


public interface CategoryService {
    List<Category> getCategoryList(int page, int limit, Map<String, Object> searchMap);
    long getCategoryCount(Map<String, Object> searchMap);


    ResultVO saveCategory(Category category);
    ResultVO updateCategory(Category category);
    int deleteCategory(Long categoryId);
    int deleteCategoryByIds(Long[] categoryIds);
}